<?php /**
 * Template Name: Archives Page
 *  */
?>
<?php get_header();?>
<div id="wrapper" class="container_12">
	<div class=" grid_8">
		<div <?php post_class() ?> >
			<?php
			if((function_exists('add_theme_support')) && ( has_post_thumbnail())) {
				the_post_thumbnail('single_post');
			}
			?>
			<?php the_title('<h1 class="title">', '</h1>');?>
			<div class="entry">
				<ul>
					<?php query_posts('posts_per_page=-1');  if ( have_posts() ) : while ( have_posts() ) : the_post();
					?>
					<li>
						<a href="<?php the_permalink() ?>"><?php the_title();?>- <em> <?php the_time( get_option('date_format'))
						?></em></a>
					</li>
					<?php endwhile; endif;?>
				</ul>
			</div>
		</div>
	</div>
	<?php get_sidebar();?>
</div>
<?php get_footer();?>  